﻿@model site.Models.Study
@{
    ViewBag.Title = "Index";
}

<h2>Index</h2>

@using (@Html.BeginForm())
{
    @Html.ValidationSummary(true)

    
    <fieldset>
        <legend>Dados os estudos</legend>
        <div class="editor-label">
            @Html.LabelFor(model => model.Title)
        </div>

        <div class="editor-field">
            @Html.EditorFor(model => model.Title)
            @Html.ValidationMessageFor(model => model.Title)
        </div>

        <input  type="submit" value="Save Study"/>
    </fieldset>
}


@section Scripts{
    @Scripts.Render("~/bundles/jqueryval")

}